﻿My systems: 
dksrv104 - 7.1 empty         T:
dksrv131 - 7.1 with PASE     U:    
dksrv206 - 6.1 Development   P: 




Hello in 5 ways:
______________________________________________________________________________

DKSRV131  U:



/home/nli 

Gcc - programs runs from the IFS:
---------------------------------
gcc -o hello hello.c
hello
ls -l helo 

Java
----
javac Hello.java
java Hello

which java? 

Ruby 
----
ruby hello.rb 
ruby hello2.rb 

power ruby: 
http://powerruby.com/
https://powerruby.worketc.com/kb?id=11


My app:
http://dksrv131:2222

->About -> Javascript ??

node.js
-------
node hello.js


______________________________________________________________________

BlueMix
-------
Kør fra safari...

Cloud foudry


SSH:
----
på dksrv131  U:



Get stated:
http://www.ibm.com/developerworks/aix/library/au-sshsecurity/

STRTCPSVR

Mount ssh drive on a mac
cd / volumes
mkdir dksrv131
sshfs dksrv131:/www dksrv131
.. Vis RPG7.1 i systest 

Almindelig ssh 
ssh 
ls 
which ls
ls -l /opensys/usr... 


ssh dksrv206 'system "wrksplf"'   | subl 
ssh dksrv206 'system "wrkactjob"  | grep -i NLI'   | subl 

SSH and X11
-----------
X11 - applications
/QOpenSys/QIBM/ProdData/SC1/OpenSSH/openssh-4.7p1/etc/sshd_config

X11Forwarding yes
X11UseLocalhost no

Ubunto:

export DISPLAY=:0.0
ssh -X dksrv131

Vis.js







__________________________________________________________________________

RUBY:
på dksrv131

Get it:
http://powerruby.com/releases/power_ruby_current.zip

Intall it.
https://powerruby.worketc.com/kb?id=11

Setup:
https://powerruby.worketc.com/kb?id=22

til og med RAKE... 

__________________________________________________________________________
SQL-JSON

USerdefined tablefunctions

JSON:

items = [
	{
		"item": "iPhone", 
		"price" : 123.55 , 
		"type" : "phone",
		"Manufact":"APPLE",
		"4Gsupprt":true,
		"pixels":"5M", 
		"stock" : 9
	},{
		"item": "Ixus Plus", 
		"price" :   812.00 , 
		"type" : "camera" , 
		"Manufact" : "CANON" , 
		"pixels" : "5M" ,
		"stock" : 5
	}   
]


